<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ page import="model.User"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<%
		User[] userArray = (User[]) request.getSession().getAttribute(
				"users");
	%>
	<table>
		<tr>
			<td>id</td>
			<td>salutation</td>
			<td>firstName</td>
			<td>middleName</td>
			<td>lastName</td>
			<td>displayName</td>
			<td>sex</td>
			<td>loginId</td>
			<td>emailId</td>
			<td>invalidLogins</td>
			<td>lastPwdUpdate</td>
			<td>lastLogin</td>
			
		</tr>
		<%
			for (int i = 0; i < userArray.length; i++) {
		%>
		<tr>
			<td><%=userArray[i].getId()%></td>
			<td><%=userArray[i].getSalutation()%></td>
			<td><%=userArray[i].getFirstName()%></td>
			<td><%=userArray[i].getMiddleName()%></td>
			<td><%=userArray[i].getLastName()%></td>
			<td><%=userArray[i].getDisplayName()%></td>
			<td><%=userArray[i].getSex()%></td>
			<td><%=userArray[i].getLoginId()%></td>
			<td><%=userArray[i].getEmailId()%></td>
			<td><%=userArray[i].getInvalidLogins()%></td>
			<td><%=userArray[i].getLastPwdUpdate()%></td>
			<td><%=userArray[i].getLastLogin()%></td>
		</tr>

		<%
			}
		%>
	</table>
</body>
</html>